package com.xli.module.framemoduleright.entity.dto;

import com.xli.dto.validation.group.IGroup;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


@Data
public class ModuleRightDTO implements Serializable {

    @NotBlank(message = "moduleId必传", groups = {IGroup.add.class})
    private String moduleId;

    private boolean authChild;

    private List<String> roleIds = new ArrayList<>();

    private List<String> userIds = new ArrayList<>();
}
